package cn.bblocks.cacheTest.model.dao;

import java.util.List;


import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.CachePut;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;



import cn.bblocks.cacheTest.model.Area;




public interface AreaMapper extends JpaRepository<Area, Integer>{
		
	Area findByAreacode(String areacode);
	
	List<Area> findByParentidOrderByAreaid(Integer parentid);
	
}
